package com.lesso.lzh.sunflower.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.lzh.sunflower.model.AttendanceRule;
import com.lesso.lzh.sunflower.pojo.dto.AttendanceRuleDTO;
import com.lesso.lzh.sunflower.pojo.dto.AttendanceRuleQueryDTO;
import com.lesso.lzh.sunflower.pojo.vo.AttendanceRuleVO;

/**
 * IAttendanceRuleService
 *
 * @author zqz
 * @since 2025-07-04
 */
public interface IAttendanceRuleService {
    Long save(AttendanceRuleDTO dto);

    Page<AttendanceRuleVO> page(AttendanceRuleQueryDTO dto);

    Page<AttendanceRuleVO> customPage(AttendanceRuleQueryDTO dto);

    void deleteById(Long id);

    AttendanceRule selectById(Long id);

    void update(AttendanceRuleDTO dto);
}